package com.wwz.frame.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @Description 定义事件 继承 ApplicationEvent
 * @Author wwz
 * @Date 2019/08/26
 * @Param
 * @Return
 */
@Getter
public class SaveEvent extends ApplicationEvent {

    public Object object;

    public SaveEvent(Object source, Object object) {
        super(source);
        this.object = object;
    }

    public SaveEvent(Object source) {
        super(source);
    }

}
